[HVM] qemu: Add guest address-space mapping cache.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 7 Dec 2006 11:12:52 +0000 (11:12 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 7 Dec 2006 11:12:52 +0000 (11:12 +0000)
commit56e9db683be09f411dec3d0fe4f0afb433be709b
tree5b62f91391c24c94dfcf41edea8189998659d161
parentdc960266aaa37386c101fcb26ca30c574d15fc5f
[HVM] qemu: Add guest address-space mapping cache.

On IA32 host or IA32 PAE host, at present, generally, we can't create
an HVM guest with more than 2G memory, because generally it's almost
impossible for Qemu to find a large enough and consecutive virtual
address space to map an HVM guest's whole physical address space.
The attached patch fixes this issue using dynamic mapping based on
little blocks of memory.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/ioemu/target-i386-dm/cpu.h
tools/ioemu/target-i386-dm/exec-dm.c
tools/ioemu/vl.c
tools/ioemu/vl.h